/**
 * class ChatUser: using Pattern
 * 
 */
var ChatUser = (function() {
	var username;// private variable
	// get user name
	var my = {};
	my.setUsername = function(name) {
		my.username = name;
	};
	return my;
}(ChatUser || {}));